package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.GaPropagandaDeleteRecordMapper;
import com.ruoyi.system.domain.GaPropagandaDeleteRecord;
import com.ruoyi.system.service.IGaPropagandaDeleteRecordService;

/**
 * 宣传信息删除Service业务层处理
 * 
 * @author wzp
 * @date 2021-11-26
 */
@Service
public class GaPropagandaDeleteRecordServiceImpl implements IGaPropagandaDeleteRecordService 
{
    @Autowired
    private GaPropagandaDeleteRecordMapper gaPropagandaDeleteRecordMapper;

    /**
     * 查询宣传信息删除
     * 
     * @param id 宣传信息删除主键
     * @return 宣传信息删除
     */
    @Override
    public GaPropagandaDeleteRecord selectGaPropagandaDeleteRecordById(Long id)
    {
        return gaPropagandaDeleteRecordMapper.selectGaPropagandaDeleteRecordById(id);
    }

    /**
     * 查询宣传信息删除列表
     * 
     * @param gaPropagandaDeleteRecord 宣传信息删除
     * @return 宣传信息删除
     */
    @Override
    public List<GaPropagandaDeleteRecord> selectGaPropagandaDeleteRecordList(GaPropagandaDeleteRecord gaPropagandaDeleteRecord)
    {
        return gaPropagandaDeleteRecordMapper.selectGaPropagandaDeleteRecordList(gaPropagandaDeleteRecord);
    }

    /**
     * 新增宣传信息删除
     * 
     * @param gaPropagandaDeleteRecord 宣传信息删除
     * @return 结果
     */
    @Override
    public int insertGaPropagandaDeleteRecord(GaPropagandaDeleteRecord gaPropagandaDeleteRecord)
    {
        return gaPropagandaDeleteRecordMapper.insertGaPropagandaDeleteRecord(gaPropagandaDeleteRecord);
    }

    /**
     * 修改宣传信息删除
     * 
     * @param gaPropagandaDeleteRecord 宣传信息删除
     * @return 结果
     */
    @Override
    public int updateGaPropagandaDeleteRecord(GaPropagandaDeleteRecord gaPropagandaDeleteRecord)
    {
        return gaPropagandaDeleteRecordMapper.updateGaPropagandaDeleteRecord(gaPropagandaDeleteRecord);
    }

    /**
     * 批量删除宣传信息删除
     * 
     * @param ids 需要删除的宣传信息删除主键
     * @return 结果
     */
    @Override
    public int deleteGaPropagandaDeleteRecordByIds(Long[] ids)
    {
        return gaPropagandaDeleteRecordMapper.deleteGaPropagandaDeleteRecordByIds(ids);
    }

    /**
     * 删除宣传信息删除信息
     * 
     * @param id 宣传信息删除主键
     * @return 结果
     */
    @Override
    public int deleteGaPropagandaDeleteRecordById(Long id)
    {
        return gaPropagandaDeleteRecordMapper.deleteGaPropagandaDeleteRecordById(id);
    }
}
